﻿<?php

//////////////////////////////////////////////////////////////////////////
//
// WikiHiero2 - A PHP convert from text using "Manual for the encoding of
// hieroglyphic texts for computer input" syntax to HTML entities (table and
// images).
//
// Copyright (C) 2004-2007 Guillaume Blanchard (Aoineko)
// 
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//
//////////////////////////////////////////////////////////////////////////

	//========================================================================
	// D E F I N E S
	define("WH_FRAME_S",        "<div style='margin:0.5em; background: lightgray;'>");
	define("WH_FRAME_E",        "</div>");
	define("WH_TABLE_S",        "<table border='0' cellspacing='0' cellpadding='0'>");
	define("WH_TABLE_E",        "</table>");
	define("WH_TD_S",           "<td align='center' valign='middle'>");
	define("WH_TD_E",           "</td>");
	
	define("WH_SCALE_DEFAULT",  -1);   // use default scale
	define("WH_HEIGHT",         44);
	define("WH_IMG_MARGIN",     1);    // default value
	define("WH_CARTOUCHE_WIDTH",2);  // default value
	
	define("WH_IMG_DIR",        "img/");
	define("WH_IMG_PRE",        "hiero_");
	define("WH_IMG_EXT",        "png");
	  
	define("WH_LIST_FILE",      "wh_list.php");
	  
	//========================================================================
	// G L O B A L S
	//$wh_mode    = WH_MODE_HTML; // default value
	//$wh_tips    = WH_TIPS_JS;   // default value
	$wh_scale   = 100;          // default value

?>